package com.dongke.mapper;

import com.dongke.pojo.Role1;
import com.dongke.pojo.Role1Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface Role1Mapper {
    long countByExample(Role1Example example);

    int deleteByExample(Role1Example example);

    int deleteByPrimaryKey(Integer rid);

    int insert(Role1 record);

    int insertSelective(Role1 record);

    List<Role1> selectByExample(Role1Example example);

    Role1 selectByPrimaryKey(Integer rid);

    int updateByExampleSelective(@Param("record") Role1 record, @Param("example") Role1Example example);

    int updateByExample(@Param("record") Role1 record, @Param("example") Role1Example example);

    int updateByPrimaryKeySelective(Role1 record);

    int updateByPrimaryKey(Role1 record);

    List<Role1> selectByName(Role1 role);

    int inserInfoReturnId(Role1 role);

}